#pragma once

namespace Engine
{
	class NEventPublisher;
}

namespace Engine
{
class NEventSubscriber
{
public:
	NEventSubscriber(){}

	virtual ~NEventSubscriber(){}
	
	virtual void Notify(NEventPublisher* aEventPublisher, float wallTime = 0.0) = 0;
	
	virtual bool IsSynchronous(){ return mIsSynchronous;}

protected:
	bool mIsSynchronous;
};
}